
<h1>{L_MANAGE_QUOTAS_TITLE}</h1>

<p>{L_MANAGE_QUOTAS_EXPLAIN}</p>

<form method="post" action="{S_ATTACH_ACTION}" {I18N}>
<table><thead>
	<tr>
		<th>{L_DESCRIPTION}</th>
		<th>{L_SIZE}</th>
		<th>{L_DELETE}</th>
		<th></th>
	</tr>
</thead><tbody>
	<tr>
		<td><input type="text" size="20" maxlength="25" name="quota_description" value=""/></td>
		<td><input type="number" min="0" size="3" maxlength="15" name="add_max_filesize" value="{MAX_FILESIZE}" /> {S_FILESIZE}</td>
		<td><button type="submit" name="add_quota_check">{L_ADD_NEW}</button></td>
		<td></td>
	</tr>
</tbody><tbody>
	<tr>
		<th colspan="4">{L_MANAGE_QUOTAS_TITLE}</th>
	</tr>
<!-- BEGIN limit_row -->
	<tr>
		<td><input type="text" size="20" maxlength="25" name="quota_desc_list[]" value="{limit_row.QUOTA_NAME}" /></td>
		<td><input type="number" min="0" size="3" maxlength="15" name="max_filesize_list[]" value="{limit_row.MAX_FILESIZE}" /> {limit_row.S_FILESIZE}</td>
		<td><input type="checkbox" name="quota_id_list[]" value="{limit_row.QUOTA_ID}" /></td>
		<td>
			<input type="hidden" name="quota_change_list[]" value="{limit_row.QUOTA_ID}" />
			<a href="{limit_row.U_VIEW}" class="gensmall">{L_VIEW}</a>
		</td>
	</tr>
<!-- END limit_row -->
</tbody><tfoot>
	<tr>
		<td colspan="4"><button type="submit">{L_SUBMIT}</button></td>
	</tr>
</tfoot></table>
</form>

<!-- {QUOTA_LIMIT_SETTINGS} -->

<!-- IF B_QUOTA_LIMIT_DESC -->
<center><h1>{L_QUOTA_LIMIT_DESC}</h1></center>

<table>
	<tr>
		<td align="left" style="width:49%;">
			<table>
				<tr>
					<th>{L_ASSIGNED_USERS} - {L_UPLOAD_QUOTA}</th>
				</tr>
				<tr>
					<td>
						<select style="width:99%;" name="entries[]" multiple="multiple" size="5">
						<!-- BEGIN users_upload_row -->
						<option value="{users_upload_row.USER_ID}">{users_upload_row.USERNAME}</option>
						<!-- END users_upload_row -->
						</select>
					</td>
				</tr>
			</table>
		</td>
		<td width="2%">
			&nbsp;&nbsp;&nbsp;
		</td>
		<td align="right" style="width:49%;">
			<table>
				<tr>
					<th>{L_ASSIGNED_GROUPS} - {L_UPLOAD_QUOTA}</th>
				</tr>
				<tr>
					<td>
					<select style="width:99%;" name="entries[]" multiple="multiple" size="5">
					<!-- BEGIN groups_upload_row -->
					<option value="{groups_upload_row.GROUP_ID}">{groups_upload_row.GROUPNAME}</option>
					<!-- END groups_upload_row -->
					</select>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td colspan="3">
			&nbsp;&nbsp;&nbsp;
		</td>
	</tr>
	<tr>
		<td align="left" style="width:49%;">
			<table>
				<tr>
					<th>{L_ASSIGNED_USERS} - {L_PM_QUOTA}</th>
				</tr>
				<tr>
					<td>
						<select style="width:99%;" name="entries[]" multiple="multiple" size="5">
						<!-- BEGIN users_pm_row -->
						<option value="{users_pm_row.USER_ID}">{users_pm_row.USERNAME}</option>
						<!-- END users_pm_row -->
						</select>
					</td>
				</tr>
			</table>
		</td>
		<td width="2%">
			&nbsp;&nbsp;&nbsp;
		</td>
		<td align="right" style="width:49%;">
			<table>
				<tr>
					<th>{L_ASSIGNED_GROUPS} - {L_PM_QUOTA}</th>
				</tr>
				<tr>
					<td>
					<select style="width:99%;" name="entries[]" multiple="multiple" size="5">
					<!-- BEGIN groups_pm_row -->
					<option value="{groups_pm_row.GROUP_ID}">{groups_pm_row.GROUPNAME}</option>
					<!-- END groups_pm_row -->
					</select>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<!-- ENDIF -->

<p style="text-align:center;">{ATTACH_VERSION}</p>
